import Vue from 'vue'
import App from './App.vue'
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import moment from 'moment'
import utils from './utils/index'
import api from './api/api'

import XTablePage from "@/components/pulic/x/XTablePage";
import XSearch from "@/components/pulic/x/XSearch";

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(XTablePage);
Vue.use(XSearch);
Vue.prototype.$http = api;
Vue.prototype.$moment = moment;
Vue.prototype.$utils = utils;

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
